projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f14ffb
)
(displayed_window_lines): Don't round up when converting empty space at
author
Miles Bader
<miles@gnu.org>
Mon, 11 Dec 2000 02:20:24 +0000
(
02:20
+0000)
committer
Miles Bader
<miles@gnu.org>
Mon, 11 Dec 2000 02:20:24 +0000
(
02:20
+0000)
bottom to lines.
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index 223ef072386c0c684b3dbf7172b795f9292987e1..5a54f46091cc5bbde1c25ffc921cc8e5a9656c16 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-4479,7
+4479,7
@@
displayed_window_lines (w)
{
struct frame *f = XFRAME (w->frame);
int rest = height - bottom_y;
- int lines =
(rest + CANON_Y_UNIT (f) - 1)
/ CANON_Y_UNIT (f);
+ int lines =
rest
/ CANON_Y_UNIT (f);
it.vpos += lines;
}